<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header">
<style type="text/css">
div {
/* 	border-bottom: solid #02aaf1 2px;
	width: 150px;
	height: 25px;
	margin: 0; */
	float: left;
	text-align: center;
	font-size: 16px;
}



</style>


</head>
<body class="gray-bg">

<div class='container-fluid'>
  <h class='page-header'>当前用户信息</h>

  <div class='tabbable tabs-left'>
  
    <!--
      选项卡：通过BS的类来控制选项卡的样式
    -->
    <ul class='nav nav-tabs'>
      <li class='active'><a href='#tab1' data-toggle='tab'>用户名</a></li>
      <li><a href='#tab5' data-toggle='tab'>所属级别</a></li>
      <li><a href='#tab2' data-toggle='tab'>手机号码</a></li>
      <li><a href='#tab3' data-toggle='tab'>当前可用速用币</a></li>
      <li><a href='#tab4' data-toggle='tab'>总充值速用币</a></li>
      <li><a href='#tab6' data-toggle='tab'>当前级别享有折扣</a></li>
      
    </ul>
    
    <!--
      选项卡的内容定义
    -->
    <div class='tab-content'>
      <div class='tab-pane active' id='tab1'>
	      <input id="id" name="id" th:value="${user.id}" type="hidden">
	      <input id="name" name="name" class="form-control" type="text"  readonly="readonly" th:value="${user.companyName}">
      </div>
      <div class='tab-pane' id='tab2'>
      	<input id="mobile" name="mobile" class="form-control" type="text"  readonly="readonly" th:value="${user.phone}">
      </div>
      <div class='tab-pane' id='tab3'>
          <input id="money" name="money" class="form-control" type="text"  readonly="readonly" th:value="${user.wyzMoney}">
      </div>
      <div class='tab-pane' id='tab4'>
        <input id="allmoney" name="allmoney" class="form-control" type="text"  readonly="readonly" th:value="${user.wyzAllmoney}">
      </div>
        <div class='tab-pane' id='tab6'>
        <input id="allmoney" name="allmoney" class="form-control" type="text"  readonly="readonly" th:value="${rebate}">
      </div>
      <div class='tab-pane' id='tab5'>
         <input id="agencyRank" name="agencyRank" class="hidden" th:value="${user.agencyRank}">
									 <input id="deptName" name="deptName"
										class="form-control" type="text" style="cursor: pointer;"
										 readonly="readonly" th:value="${user.deptName}">
      </div>
    </div> 
  </div>
    
</div>
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${user.id}"
							type="hidden">
						<div class="form-group">
							<label class="col-sm-3 control-label">速用币充值：</label>
							<div class="col-sm-8">
								<input id="amount" name="amount" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="submit" class="btn btn-primary" onclick="Sub()">立即充值</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/sys/user/pay.js">
	</script>
</body>
</html>
